import Vue from 'vue'
import Vuex from 'vuex'
// if(process.env.NODE_ENV === "development"){
//     Vue.use(Vuex) 
// } 
Vue.use(Vuex)

import user from './modules/user'
// import permission from './modules/permission'
import menu from './modules/menu'
import tagsView from './modules/tagsView'

export default new Vuex.Store({
    modules: {
        user,
        // permission,
        menu,
        tagsView,
    }
});

